@echo off
rem 迭代循环,对字符串进行拆分循环遍历 

rem 使用逗号进行分割
for %%i in (a,b,c,d,e,f,g) do (
	echo %%i
)

echo.
echo.
echo.

rem 使用空格进行分割
for %%i in (a b c d e f g) do (
	echo %%i
)

echo.
echo.
echo.

for %%i in (liuyalong) do (
	echo %%i
)
pause
